package com.itheima.chapter09.file;

import java.io.File;

//Flie删除功能
public class FileDome3 {
    public static void main(String[] args) {
        File file =new File("D:\\my_project\\a.txt");
        boolean delete = file.delete();
        System.out.println(delete);
        File file1 =new File("D:\\my_project\\aa");
        boolean delete1 = file1.delete();
        System.out.println(delete1);


    }
}
